The present multidisciplinary study focuses on providing a model for Magnetorheological dampers. First, it presented a brief look at the existing models of such dampers, and then to achieve an invertible, efficient, and at the same time simple model, the Kwok model has been selected and has changed appropriately. A new identification algorithm based on meta-heuristic methods has been proposed to identify the model, which has used periodic excitation. This algorithm has high detection capability with the minimum necessary tests. To evaluate the proposed model and identification method, a large-scale Magnetorheological damper, which is placed as a black box model in the benchmark baseisolated building introduced by the US Structural Control Committee, has been used as a virtual laboratory. The whole process has been investigated in the Simulink environment of MATLAB. The performance of the proposed model was compared with the original one under seven near-fault earthquakes. The results show that the modified Kwok model is more accurate than the original one. It can predict force-displacement and force-velocity behaviors correctly. Also, since the proposed model is invertible, it is easily applicable in practical issues of structural control. It provides the possibility of managing control devices, so is superior to the Kwok model.